package com.common.transformer;

import com.applicationLayer.formbean.TownForm;
import com.common.entity.Town;

public class TownTransformer {

	
	/*******************************
	 * Transformer
	 *******************************/
	public static TownForm Town_TO_TownForm(Town town){
		TownForm townForm=new TownForm();
		townForm.setName(town.getName());
		townForm.setId_town(town.getId_town());
		townForm.setCp(town.getCp());
		return townForm;
	}
	
	
}
